package test.beanTest;

import bean.back.createpark.BackCreateparkBean;
import org.junit.Test;

import static junit.framework.Assert.assertEquals;

public class BackCreateparkBeanTest {

    @Test
    public void setCode() {
        BackCreateparkBean bcpb = new BackCreateparkBean();
        bcpb.setCode(1);
        assertEquals(1,bcpb.getCode());
    }

    @Test
    public void setMessage() {
        BackCreateparkBean bcpb = new BackCreateparkBean();
        bcpb.setMessage("1");
        assertEquals("1",bcpb.getMessage());
    }

    @Test
    public void create() {
        BackCreateparkBean bctb = new BackCreateparkBean();
        bctb.create("123123","test#100#yhz","111","111","三元一小时","test","","","test");
        assertEquals("111","111");
    }
}